package com.example.service;

import com.example.entity.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nanhang.common.util.PageResult;
import com.example.vo.StudentVO;

/**
 * <p>
 *  服务层
 * </p>
 * @author lmy
 * @since 2025-01-08
 */
public interface IStudentService extends IService<Student> {
    PageResult<Student> findByPage(Integer pageNum, Integer pageSize);
    PageResult<Student> search(Integer page, Integer pageSize, StudentVO vo);
    boolean add(Student student);
}
